<div ng-controller="orderRegisterBreakController" class="controller">
    <div class="bg-light lter b-b wrapper-sm">
        <h1 class="m-n font-thin h4">零担详情</h1>
    </div>
    <div class="wrapper-sm">
        <div class="titleC" id="plan">
            <h1 class="leftred m-n font-thin h4">订单列表</h1>
        </div>
        <form name="step1" id="registerForm" class="form-validation form-horizontal" novalidate>
            <button ng-hide="true"></button>
            <div class="panel panel-default">
                <div class="groupConent">
                    <div class="group-titel">订单列表</div>
                    <div class="wrapper-sm">
                        <div class="table-responsive table-cel-k">
                            <table class="table-bordered table-hover">
                                <thead class="table-thea">
                                    <tr>
                                        <th width="9%">订单编号</th>
                                        <th width="9%">客户单位</th>
                                        <th width="9%">发货地址</th>
                                        <th width="9%">中转地</th>
                                        <th width="9%">送货地址</th>
                                        <th width="9%">货物名称</th>
                                        <th width="9%">货物数量</th>
                                        <th width="9%">所需车长</th>
                                        <th width="9%">发货时间</th>
                                        <th width="5%">操作</th>
                                    </tr>
                                </thead>
                                <tbody class="tab-tbod">
                                    <tr ng-repeat="item in orderList" title="{{item.orderId}} {{item.clientName}} {{item.originProvinceStr + item.originCityStr +  item.originCountyStr + item.originDetails}} {{item.viaList}} {{item.destinationProvinceStr + item.destinationCityStr + item.destinationCountyStr + item.destinationDetails}} {{item.goodsName}} {{item.realQuantityOfGoods + item.goodsUnit}} {{item.carLength}} {{item.deliveryTime}}">
                                        <td>{{item.orderId}}</td>
                                        <td>{{item.clientName}}</td>
                                        <td>{{item.originProvinceStr + item.originCityStr + item.originCountyStr + item.originDetails}}</td>
                                        <td>{{item.viaList}}</td>
                                        <td>{{item.destinationProvinceStr + item.destinationCityStr + item.destinationCountyStr + item.destinationDetails}}</td>
                                        <td>{{item.goodsName}}</td>
                                        <td>{{item.realQuantityOfGoods + item.goodsUnit}}</td>
                                        <td>{{item.carLength}}</td>
                                        <td>{{item.deliveryTime}}</td>
                                        <td>
                                            <a class="fa fa-eye m-l-xs  primary text-info" title="查看详情" data-toggle="modal" data-target="#detail" ng-click="orderDetail(item)"></a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>

            <div class="titleC" id="carriage">
                <h1 class="leftred m-n font-thin h4">承运信息</h1>
            </div>

            <div class="panel panel-default">
                <div class="groupConent">
                    <div class="group-titel">承运商信息</div>
                    <div class="form-group">
                        <label class="col-lg-1 col-md-2 control-label">承运商名称<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverBreakBulk_carrier" type="text" class="form-control input-sm" ng-value="carrierOrderData.carrier" placeholder="请填写承运商名称" disabled="disabled" name="carrierName">
                        </div>
                        <label class="col-lg-2 col-md-3 control-label">承运商号码<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverBreakBulk_carrierPhone" type="tel" class="form-control input-sm" ng-value="carrierOrderData.carrierPhone" placeholder="请填写承运商号码" disabled="disabled" ng-pattern="/^1\d{10}$/" name="carrierPhone">
                        </div>
                        <label class="col-lg-2 col-md-2 control-label">承运商类型<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverBreakBulk_carrierType" type="tel" class="form-control input-sm" ng-value="carrierOrderData.carrierType" placeholder="承运商类型" disabled="disabled" name="carrierType">
                        </div>
                    </div>
                </div>
            </div>

            <div class="panel panel-default">
                <div class="groupConent">
                    <div class="group-titel">承运商车辆信息</div>
                    <div class="form-group">
                        <label class="col-lg-1 col-md-2 control-label">车牌号<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverBreakBulk_carCode" type="text" class="form-control uppercase input-sm" ng-value="carrierOrderData.carCode" disabled="disabled" placeholder="请填写车牌号" ng-pattern="/^[\u4e00-\u9fa5]{1}[a-zA-Z]{1}[a-zA-Z_0-9]{5}$/" name="carCode">
                        </div>
                        <label class="col-lg-2 control-label col-md-3">驾驶员号码<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverBreakBulk_driverPhone" type="tel" class="form-control input-sm" ng-value="carrierOrderData.driverPhone" placeholder="请填写驾驶员号码" disabled="disabled" ng-pattern="/^1\d{10}$/" name="driverPhone">
                        </div>
                        <label class="col-lg-2 control-label col-md-2">驾驶员姓名<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverBreakBulk_driver" type="text" class="form-control input-sm" ng-value="carrierOrderData.driver" placeholder="请填写驾驶员姓名" disabled="disabled" name="driverName">
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 control-label col-md-2">车长<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverBreakBulk_carLength" name="carLength" type="text" class="form-control input-sm" ng-value="carrierOrderData.carLength" disabled="disabled">
                        </div>
                        <label class="control-label col-lg-2 col-md-3">车型<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverBreakBulk_vehicleType" name="vehicleType" type="text" class="form-control input-sm" ng-value="carrierOrderData.vehicleType" disabled="disabled">
                        </div>

                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 col-md-2 control-label">道路运输许可证<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="carrierOrderData.permitNumber" disabled="disabled" id="permitNumber" name="permitNumber">
                        </div>
                        <label class="control-label col-lg-2 col-md-3">所属辖区<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="carrierOrderData.countrySubdivisionProvince + carrierOrderData.countrySubdivisionCity + carrierOrderData.countrySubdivisionCountry" disabled="disabled" id="countrySubdivision" name="countrySubdivision">
                        </div>
                        <label class=" control-label col-lg-2 col-md-2">道路运输证字号<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input type="text" class="form-control input-sm" ng-value="carrierOrderData.roadTransportCertificateNumber" disabled="disabled" id="roadTransportCertificateNumber" name="roadTransportCertificateNumber">
                        </div>
                    </div>
                </div>
            </div>

            <div class="panel panel-default">
                <div class="groupConent">
                    <div class="group-titel">应付价格信息</div>
                    <div class="form-group">
                        <label class="col-lg-1 col-md-2  control-label">应付单价<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-2">
                            <input id="orderDeliverBreakBulk_payablePrice" type="text" class="form-control input-sm" ng-value="carrierOrderData.payablePrice" placeholder="请填写应付单价" disabled="disabled" name="carrierReceivablePirce">
                        </div>
                        <div class="pull-left m-l-n-sm w-xs">
                            <input id="orderDeliverBreakBulk_payablePriceUnit" name="payablePriceUnit" type="text" class="form-control input-sm" ng-value="carrierOrderData.payablePriceUnit" disabled="disabled">
                        </div>
                        <label class="ml-label col-lg-1 col-md-2 control-label">应付说明<span class="text-danger">*</span></label>
                        <div class="col-lg-6 col-md-3">
                            <input id="orderDeliverBreakBulk_payableSummary" type="text" class="form-control input-sm" ng-value="carrierOrderData.payableSummary" placeholder="请填写应付说明" disabled="disabled" name="carrierReceivableRemarks">
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 col-md-2 control-label">预付款</label>
                        <div class="col-lg-2 col-md-2">
                            <input id="orderDeliverBreakBulk_advancePrice" type="text" class="form-control input-sm" ng-value="carrierOrderData.advancePaymentList[0].advancePrice" placeholder="请填写预付款" value="0" disabled="disabled" name="advancePrice">
                        </div>
                        <div class="pull-left m-l-n-sm w-xs">
                            <input id="orderDeliverBreakBulk_advancePriceTypeStr" type="text" class="form-control input-sm" ng-value="carrierOrderData.advancePaymentList[0].advancePriceTypeStr" name="advancePriceTypeStr" disabled="disabled">
                        </div>

                        <label class="ml-label col-lg-1 col-md-2 control-label">回单款</label>
                        <div class="col-lg-2 col-md-2 m-l-n-sm">
                            <input id="orderDeliverBreakBulk_receiptPrice" type="text" class="form-control input-sm" ng-value="carrierOrderData.receiptPrice" value="0" disabled="disabled" name="receiptPrice">
                        </div>
                        <div class="pull-left m-l-n-sm w-xs">
                            <input id="orderDeliverBreakBulk_receiptPriceUnit" type="text" class="form-control input-sm" ng-value="carrierOrderData.receiptPriceUnit" name="receiptPriceUnit" disabled="disabled">
                        </div>

                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 col-md-2 control-label"></label>
                        <div class="col-lg-2 col-md-2">
                            <input id="orderDeliverBreakBulk_advancePrice2" type="text" class="form-control input-sm" ng-value="carrierOrderData.advancePaymentList[1].advancePrice" value="0" disabled="disabled" name="advancePriceTypeTwo">
                        </div>
                        <div class="pull-left m-l-n-sm w-xs">
                            <input id="orderDeliverDetail_advancePriceTypeStr2" type="text" class="form-control input-sm" ng-value="carrierOrderData.advancePaymentList[1].advancePriceTypeStr" name="advancePriceTypeStrTwo" disabled="disabled">
                        </div>
                        <div class="line  pull-in"></div>
                        <label class="col-lg-1 col-md-2 control-label">银行卡号<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverDetail_bankCode" type="text" class="form-control input-sm" ng-value="carrierOrderData.bankCode" placeholder="请填写银行卡号" disabled="disabled" name="bankCode">
                        </div>
                        <label class="col-lg-2 col-md-3 control-label">开户银行<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-3">
                            <input id="orderDeliverDetail_bankName" type="text" class="form-control input-sm" ng-value="carrierOrderData.bankName" placeholder="请填写开户银行" disabled="disabled" name="openBank">
                        </div>
                        <label class="col-lg-2 col-md-2 control-label">持卡人姓名<span class="text-danger">*</span></label>
                        <div class="col-lg-2 col-md-2">
                            <input id="orderDeliverDetail_holder" type="text" class="form-control input-sm" ng-value="carrierOrderData.holder" placeholder="请填写持卡人姓名" disabled="disabled" name="holder">
                        </div>
                    </div>
                </div>
            </div>

            <div class="titleC" id="contract">
                <h1 class="leftred m-n font-thin h4">合同信息</h1>
            </div>

            <div class="panel panel-default">
                <div class="groupConent">
                    <div class="group-titel">合同信息录入</div>
                    <div class="form-group">
                        <ng-form name="contractFrom">
                            <label class="col-lg-1 col-md-2 control-label">合同号<span class="text-danger">*</span></label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_breakBulk_contractNumber" type="text" class="form-control input-sm" onfocus=" this.style.imeMode='inactive' " ng-model="contractNumber" placeholder="请填写合同号" ng-disabled="deliveryBtn" name="contractNumber" ng-click="clearContractF()"
                                    ng-keyup="patte(contractNumber)">
                            </div>
                            <label class="col-lg-2 col-md-3 control-label ">合同货物数量<span class="text-danger">*</span></label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_breakBulk_contractGoodsNum" type="text" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control input-sm" ng-model="contractGoodsNum" placeholder="请填写合同货物数量" ng-disabled="deliveryBtn" required name="contractGoodsNum" ng-keyup="sumToatlprics()">
                            </div>
                            <div class="col-lg-1 m-l-n-sm col-md-1">
                                <select class="form-control input-sm" id="orderRegister_breakBulk_contractGoodsNumUnit" ng-model="contractGoodsNumUnit" name="contractGoodsNumUnit" ng-disabled="deliveryBtn" required ng-options="x.value as x.text for x in goodsNumUnitList" ng-click="sumToatlprics()"
                                    ng-keyup="sumToatlprics()">
                                    <option value="">请选择</option>
                                </select>
                            </div>
                            <label class="col-lg-1 col-md-2 control-label">合同日期<span class="text-danger">*</span></label>
                            <div class="col-lg-2 col-md-3">
                                <div class="input-group input-group-sm date">
                                    <input id="orderRegister_breakBulk_contractTime" name="contractTime" datetimepicker plugintype="datetime" ng-disabled="deliveryBtn" ng-model="contractTime" placeholder="起始时间" class="form-control" type="text" required />
                                    <span id="opencontractTime" class="input-group-addon curpoint">
                                    <span class="glyphicon glyphicon-calendar"></span>
                                    </span>
                                </div>
                            </div>
                            <div class="line  pull-in"></div>

                            <label class="col-lg-1 col-md-2  control-label">油卡状态<span class="text-danger">*</span></label>
                            <div class="col-lg-2 col-md-3">
                                <select id="orderRegister_breakBulk_oilCardStatus" class="form-control input-sm" ng-model="oilCardStatus" name="oilCardStatus" ng-disabled="deliveryBtn" required ng-options="x.value as x.text for x in oilCardStatusList">
                                    <option value="">请选择</option>
                                </select>
                            </div>
                            <label class="col-lg-2 col-md-3 control-label">油卡卡号</label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_breakBulk_oilCardNum" type="text" class="form-control input-sm" ng-model="oilCardNum" placeholder="请填写油卡卡号" value="0" ng-disabled="deliveryBtn" name="oilCardNum">
                            </div>

                            <label class="col-lg-2 col-md-2 control-label">驾驶证号<span class="text-danger">*</span></label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_detail_driverLicenseNumber" ng-pattern="/^[A-Za-z0-9]+$/" minlength="18" maxlength="18" type="text" class="form-control input-sm" ng-model="driverLicenseNumber" placeholder="请填写驾驶证号" ng-disabled="deliveryBtn" required name="driverLicenseNumber">
                            </div>
                            <div class="line  pull-in"></div>

                            <label class="col-lg-1 col-md-2 control-label">运费总价<span class="text-danger">*</span></label>
                            <div class="col-lg-2 col-md-3" style="position:relative;">
                                <input id="orderRegister_detail_totalPrice" type="text" required class="form-control input-sm" ng-model="totalPrice" ng-pattern="/^[0-9]+(.[0-9]{1,2})?$/" placeholder="请填写运费总价(系统生成参考)" ng-disabled="deliveryBtn" name="totalPrice">
                                <span style="position:absolute;right:-5px;top:5px">元</span>
                            </div>
                            <label class="col-lg-2 col-md-3 control-label ">收货人<span class="text-danger">*</span></label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_breakBulk_contractConsignee" type="text" required class="form-control input-sm" ng-model="contractConsignee" placeholder="请填写收货人" ng-disabled="deliveryBtn" name="contractConsignee">
                            </div>

                            <label class="col-lg-2 col-md-2 control-label">收货人号码 <span class="text-danger">*</span></label>
                            <div class="col-lg-2 col-md-3">
                                    <!-- ng-pattern="/(^1\d{10}$)|(^0\d{2,3}\-?\d{7,8}$)/" -->
                                <input id="orderRegister_breakBulk_contractConsigneePhone" required type="text" class="form-control input-sm" ng-model="contractConsigneePhone" placeholder="请填写收货人号码" ng-disabled="deliveryBtn" ng-pattern="/^1\d{10}$/" name="contractConsigneePhone">
                            </div>

                            <div class="line  pull-in"></div>
                            <label class="col-lg-1 col-md-2 control-label col-lg-1">辅助工具(需回收)</label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_breakBulk_auxiliaryTool" type="text" class="form-control input-sm" ng-model="auxiliaryTool" placeholder="请填写辅助工具" ng-disabled="deliveryBtn" name="auxiliaryTool">
                            </div>
                            <label class="col-lg-2 col-md-3 control-label">发动机号</label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_breakBulk_engineNumber" type="text" class="form-control input-sm" ng-model="engineNumber" placeholder="请填写发动机号" ng-disabled="deliveryBtn" name="engineNumber">
                            </div>
                            <label class="col-lg-2 col-md-2 control-label">车架号 </label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_breakBulk_frameNumber" type="text" class="form-control input-sm" ng-model="frameNumber" placeholder="请填写车架号" ng-disabled="deliveryBtn" name="frameNumber">
                            </div>

                            <div class="line  pull-in"></div>
                            <label class="col-lg-1 col-md-2 control-label ">挂车号</label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_breakBulk_trailerNumber" type="text" class="form-control input-sm" ng-model="trailerNumber" placeholder="请填写挂车号" ng-disabled="deliveryBtn" name="trailerNumber">
                            </div>
                            <label class="col-lg-2 col-md-3 control-label">挂车车架号</label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_breakBulk_trailerFrameNumber" type="text" class="form-control input-sm" ng-model="trailerFrameNumber" placeholder="请填写挂车车架号" ng-disabled="deliveryBtn" name="trailerFrameNumber">
                            </div>
                            <label class="col-lg-2 col-md-2 control-label">送货单号</label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_detail_deliveryNumber" type="tel" class="form-control input-sm" ng-model="deliveryNumber" placeholder="请填写送货单号" ng-disabled="deliveryBtn" name="deliveryNumber">
                            </div>
                            <div class="line  pull-in"></div>

                            <label class="col-lg-1 col-md-2 control-label">备用电话</label>
                            <div class="col-lg-2 col-md-3">
                                <input id="orderRegister_detail_altermatePhone" type="tel" class="form-control input-sm" ng-model="altermatePhone" placeholder="请填写备用电话" ng-pattern="/^\d{11,12}$/" ng-disabled="deliveryBtn" name="altermatePhone">
                            </div>
                            <label class="col-lg-2 col-md-9 control-label"></label>
                            <div class=" col-lg-5 col-md-5">
                                <button id="orderRegister_breakBulk_returnOrderC" class="pull-right-xs btn btn-sm btn-primary btn-addon" ng-click="returnOrderC()" ng-show="registerBackBtn"><i class="fa fa-mail-reply"></i>退回派车</button>
                                <button id="orderRegister_breakBulk_delivered" class="pull-right-xs btn btn-sm btn-success btn-addon" ng-click="delivered()" ng-show="registerBtnF"><i class="fa fa-truck"></i>已发货</button>
                                <button id="orderRegister_breakBulk_alreadyArrive" class="pull-right-xs btn btn-sm btn-success btn-addon" ng-click="clearTime()" data-toggle="modal" data-target="#arrival" ng-show="registerBtnT"><i class="fa fa-flag"></i>货已送达</button>
                                <button id="orderRegister_breakBulk_registerSave" class="pull-right-xs btn btn-sm btn-info btn-addon" ng-show="saveBtn" ng-disabled="saveDis" ng-click="registerSave()"><i class="fa fa-check"></i>确定</button>
                                <button class="pull-right-xs btn btn-sm btn-success btn-addon" ng-click="syncAttachment()" ng-show="saveBtn"><i class="glyphicon glyphicon-retweet"></i>同步附件</button>
                                <button id="orderRegister_breakBulk_skipManage" class="pull-right-xs btn btn-sm btn-warning btn-addon" ng-click="skipManage()"><i class="fa fa-times"></i>取消</button>
                                <button id="orderRegister_detail_contract" class="pull-right-xs btn btn-sm btn-info btn-addon" ng-disabled="true" ng-dblclick="EContractDetail()"><i class="fa fa-file-text-o"></i>电子合同</button>
                            </div>
                        </ng-form>
                    </div>
                </div>
            </div>

            <div class="line  pull-in"></div>
            <div class="panel panel-default" id="attachments">
                <div class="groupConent">
                    <div class="group-titel">附件信息</div>
                    <div class="form-group accessory">
                        <div class="panel-body" id="uploading">
                                <ng-template ng-repeat="attach in attachList">
                                <div class="col-md-4 accContent">
                                    <label class="acctitel">{{attach.title}}</label>
                                    <div class="col-md-3 form-group filebtn">
                                        <input id="orderRegister_detail_{{attach.uploaderName}}" name="weightNoteUploader" type="file" style="width:72px;" file-read uploader="attach.uploader" ng-disabled="attach.uploader.queue.length" />
                                    </div>
                                    <div class="col-md-12" ng-if="attach.uploader.queue.length">
                                        <div ng-repeat="item in attach.uploader.queue">
                                            <div style="width:300px;height:300px" ng-show="item._file" ng-thumb="{ file: item._file, width: 480,height:320,path:item.imgSrc }"></div>
                                            <div ng-show="!item._file">
                                                <img data-ng-src="{{item.imgSrc}}" style="width:300px;height:300px" ng-click="handleImgClick(item)" data-toggle="modal" data-target="#imgRotate">
                                            </div>
                                            <strong>{{ item.fileName }}</strong>
                                            <div  class="accessoryTag">
                                                <div class="pull-left">{{ item.fileSize/1024/1024|number:2 }} MB</div>
                                                <div class="progress pull-left" style="margin-bottom: 0;" ng-style="{ 'width': item.progress-60 + '%' }">
                                                    <div class="progress-bar" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                                </div>
                                                <div class="pull-right m-r-xs">
                                                    <button id="orderRegister_detail_{{attach.uploaderName}}Upload" type="button" class="btn btn-success btn-xs" ng-click="attach.uploader.upload(item)" ng-disabled="item.isSuccess">
                                                        <span class="glyphicon glyphicon-upload"></span> 上传
                                                    </button>
                                                    <button id="orderRegister_detail_{{attach.uploaderName}}OnDelete" type="button" class="btn btn-danger btn-xs" ng-click="[attach.uploader.onDelete(item)]">
                                                        <span class="glyphicon glyphicon-trash"></span> 删除
                                                    </button>
                                                    <button id="orderRegister_detail_{{attach.uploaderName}}_download" type="button" class="btn btn-primary btn-xs" ng-click="[attach.uploader.onDownload(item)]" ng-disabled="!item.imgSrc">
                                                        <span class="fa fa-cloud-download"></span> 下载
                                                    </button>
                                                </div>
                                                <div class="pull-right m-r-xs">
                                                    <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                    <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                    <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div ng-if="$index%3==2" class="line pull-in"></div>
                                </ng-template>
                            


                        </div>
                    </div>
                </div>
            </div>

            <div class="line  pull-in"></div>
            <div class="panel panel-default" id="remark">
                <div class="groupConent">
                    <div class="group-titel">备注信息</div>
                    <div class="form-group">
                        <label class="col-lg-1 col-md-2 control-label">备注</label>
                        <div class="col-lg-10 col-md-10">
                            <textarea id="orderRegister_breakBulk_remarks" class="form-control" ng-disabled="deliveryBtn" ng-model="remarks" placeholder="请填写备注" name="remarks"></textarea>
                        </div>
                    </div>
                </div>
            </div>

            <!--detailModal -->
            <div class="modal fade bs-example-modal-lg" id="detail" tabindex="-1" data-focus-on="input:first" style="display: none;">
                <div class="modal-lgs">
                    <div class="modal-content top0">
                        <div class="modal-header">
                            <button id="orderDeliverBreakBulk_detail" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="detailModalLabel">订单详情</h4>
                        </div>
                        <div class="modal-body height0">
                            <div class="wrapper-sm">
                                <div class="titleC" id="plan2">
                                    <h1 class="leftred m-n font-thin h4">计划内容</h1>
                                </div>
                                <form name="step2" id="form2" class="form-validation form-horizontal" novalidate>
                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">基本信息
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">订单编号  :</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-8 control-label text-left">{{orderData.orderId}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">子询价编号  :</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-8 control-label text-left">{{orderData.inquiryChildId}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客户订单编号  :</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-8 control-label text-left">{{orderData.clientOrderId}}</label>

                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">下单时间  :</label>
                                                <label class="col-lg-2 col-md-4 col-sm-9 col-xs-8 control-label text-left">{{orderData.creationTime}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">紧急程度<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-2 col-sm-9 col-xs-8 control-label text-left">{{orderData.responseTime}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">计划专员  :</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{orderData.plannerName}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">商务专员<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-4 col-sm-9 col-xs-9 control-label text-left">{{orderData.businessAffairsName}}</label>
                                                <!--<label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客服专员<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{orderData.customerServiceName}}</label>-->
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客服专员<span class="text-danger">*</span>:</label>
                                                <div class="col-lg-1 col-md-2 col-sm-3 col-xs-3">
                                                    <select id="orderRegister_breakBulk_detail_customerServiceOfficer" ng-disabled="registerDis" class="form-control input-sm" ng-model="customerServiceOfficerId" name="customerServiceOfficerId" ng-options="x.id as x.realName for x in customerServiceOfficerList">
                                                        <option value="">请选择</option>
                                                    </select>
                                                </div>
                                                <button id="orderRegister_breakBulk_detail_changeDisPatch" ng-hide="registerDis" class="btn btn-sm btn-default btn-addon pull-left m-r-sm" ng-click="changeDispatch()" ng-show="true"><i class="fa fa-refresh"></i>变换</button>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">调度专员<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-4 col-sm-9 col-xs-9 control-label text-left">{{orderData.dispatcherName}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客户单位<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{orderData.clientName}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">发货计划人<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-4 col-sm-9 col-xs-9 control-label text-left">{{orderData.consignorName}}</label>
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">发货人号码<span class="text-danger">*</span>:</label>
                                                <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{orderData.consignorPhone}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">发货内容  :</label>
                                                <label class="col-lg-10 control-label text-left">{{orderData.content}}</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">备注:</label>
                                                <div class="col-lg-8 col-md-9 col-sm-9 col-xs-9">
                                                    <textarea id="orderRegister_breakBulk_detail_remarksO" class="form-control" ng-bind="orderData.remarks" disabled="disabled" placeholder="请填写备注" name="remarksO"></textarea>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="titleC" id="plan03">
                                        <h1 class="leftred m-n font-thin h4">线路货物信息</h1>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">总线路信息</div>
                                            <div class="wrapper-sm m-t-n">
                                                <div class="wrapper-sm m-t-n">
                                                    <div class="table-responsive table-cel-k">
                                                        <table class="table-bordered table-hover">
                                                            <thead class="table-thea">
                                                                <tr>
                                                                    <th width="9%">发货地址</th>
                                                                    <th width="9%">中转地</th>
                                                                    <th width="9%">送货地址</th>
                                                                    <th width="9%">发货时间</th>
                                                                    <th width="9%">到货时间</th>
                                                                    <th width="9%">里程数</th>
                                                                    <th width="9%">货物类别</th>
                                                                    <th width="9%">货物名称</th>
                                                                    <th width="9%">货物数量</th>
                                                                    <th width="5%">操作</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody class="tab-tbod">
                                                                <!--<tr ng-repeat="item in orderList" title="{{item.originProvinceStr + item.originCityStr +  item.originCountyStr + item.originDetails}} {{item.viaList}} {{item.destinationProvinceStr + item.destinationCityStr +  item.destinationCountyStr + item.destinationDetails}} {{item.deliveryTime}} {{item.arrivalTime}} {{item.mileage}} {{item.goodsTypeName}} {{item.goodsName}} {{item.realQuantityOfGoods + item.goodsUnit}}">-->
                                                                <tr>
                                                                    <td>{{orderData.originProvinceStr + orderData.originCityStr + orderData.originCountyStr + orderData.originDetails}}</td>
                                                                    <td>{{orderData.viaList}}</td>
                                                                    <td>{{orderData.destinationProvinceStr + orderData.destinationCityStr + orderData.destinationCountyStr + orderData.destinationDetails}}</td>
                                                                    <td>{{orderData.deliveryTime}}</td>
                                                                    <td>{{orderData.arrivalTime}}</td>
                                                                    <td>{{orderData.mileage}}</td>
                                                                    <td>{{orderData.goodsTypeName}}</td>
                                                                    <td>{{orderData.goodsName}}</td>
                                                                    <td>{{orderData.realQuantityOfGoods + orderData.goodsUnit}}</td>
                                                                    <td>
                                                                        <a data-toggle="modal" data-target="#orderTotal" title="查看详情" class="fa fa-eye m-l-xs  primary text-info" ng-click="orderDetial(item)"></a>
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">子线路信息</div>
                                            <div class="wrapper-sm m-t-n">
                                                <div class="table-responsive table-cel-k">
                                                    <table class="table-bordered table-hover">
                                                        <thead class="table-thea">
                                                            <tr>
                                                                <th width="9%">发货地址</th>
                                                                <th width="9%">中转地</th>
                                                                <th width="9%">送货地址</th>
                                                                <th width="9%">货物类别</th>
                                                                <th width="9%">货物名称</th>
                                                                <th width="9%">吨位范围</th>
                                                                <th width="9%">货物数量</th>
                                                                <th width="9%">结算单位</th>
                                                                <th width="9%">结算方式</th>
                                                                <th width="5%">操作</th>
                                                            </tr>
                                                        </thead>
                                                        <tbody class="tab-tbod">
                                                            <tr ng-repeat="item in orderChildList" title="{{item.shipProvinceStr + item.shipCityStr + item.shipAreaStr + item.shipAddress}} {{item.viaList}} {{item.deliverProvinceStr + item.deliverCityStr +  item.deliverAreaStr + item.deliverAddress}} {{item.goodsType}} {{item.goodsName}} {{item.tonRange}} {{item.goodsNum + item.goodsNumUnit}} {{item.reckoner}} {{item.settleType}}">
                                                                <td>{{item.shipProvinceStr + item.shipCityStr + item.shipAreaStr + item.shipAddress}}</td>
                                                                <td>{{item.viaList}}</td>
                                                                <td>{{item.deliverProvinceStr + item.deliverCityStr + item.deliverAreaStr + item.deliverAddress}}</td>
                                                                <td>{{item.goodsType}}</td>
                                                                <td>{{item.goodsName}}</td>
                                                                <td>{{item.tonRange}}</td>
                                                                <td>{{item.goodsNum + item.goodsNumUnit}}</td>
                                                                <td>{{item.reckoner}}</td>
                                                                <td>{{item.settleType}}</td>
                                                                <td>
                                                                    <a data-toggle="modal" data-target="#orderChildren" title="查看详情" class="fa fa-eye m-l-xs  primary text-info" ng-click="getOrderChildData(item)"></a>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">所需车辆信息</div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2 control-label">所需车型<span class="text-danger">*</span></label>
                                                <div class="col-lg-1 col-md-3">
                                                    <input id="orderRegister_breakBulk_detail_vehicleType" name="vehicleTypeO" type="text" class="form-control input-sm" ng-value="orderData.vehicleType" disabled="disabled">
                                                </div>
                                                <label class="control-label col-lg-1 col-md-3">所需车长<span class="text-danger">*</span></label>
                                                <div class="col-lg-1 col-md-3">
                                                    <input id="orderRegister_breakBulk_detail_carLength" name="carLengthO" type="text" class="form-control input-sm" ng-value="orderData.carLength" disabled="disabled">
                                                </div>
                                                <label class="control-label col-lg-1 col-md-2">承运方式<span class="text-danger">*</span></label>
                                                <div class="col-lg-1 col-md-3">
                                                    <input id="orderRegister_breakBulk_detail_carriageWay" name="carriageWayO" type="text" class="form-control input-sm" ng-value="orderData.carriageWay" disabled="disabled">
                                                </div>
                                                <label class="control-label col-lg-1 col-md-3">装车效果</label>
                                                <div class="col-lg-2 col-md-3">
                                                    <input id="orderRegister_breakBulk_detail_loadingResult" type="text" class="form-control input-sm" ng-value="orderData.loadingEffect" placeholder="请填写装车效果" disabled="disabled" name="loadingResultO">
                                                </div>
                                                <div class="line"></div>
                                                <div class="col-lg-2 col-md-3">
                                                    <input id="location_tool_code" type="text" class="form-control input-sm" ng-model="locToolCode" placeholder="请输入定位器编码" name="loadingResultO">
                                                    <div ng-if="bindSucced" class="successBindInfo" style="color:#00dcb5">绑定成功</div>
                                                </div>

                                                <div class="col-lg-2 col-md-3">
                                                    <button id="bind_loc_tool_code" class="pull-right-xs btn btn-sm btn-primary btn-addon" ng-disabled='forbidBindLocTool' ng-click="bindLocToolCode()"><i class="fa fa-tag"></i>绑定定位器</button>
                                                    <button id="location_btn" class="pull-right-xs btn btn-sm btn-primary btn-addon" ng-disabled="!orderBinded" data-toggle="modal" data-target="#locToolLocation" ng-click="locateByTool()"><i class="fa fa-location-arrow"></i>定位</button>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">附件信息</div>
                                            <div class="wrapper-sm">
                                                <table class="table bg-white-only b-a">
                                                    <thead>
                                                        <tr>
                                                            <th width="50%">名称</th>
                                                            <th >大小</th>
                                                            <th >进度</th>
                                                            <th>状态</th>
                                                            <th>操作</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                        <tr ng-repeat="item in orderUploader.queue">
                                                            <td>
                                                                <strong>{{ item.fileName }}</strong>
                                                            </td>
                                                            <td  nowrap>{{ item.fileSize/1024/1024|number:2 }} MB</td>
                                                            <td >
                                                                <div class="progress" style="margin-bottom: 0;">
                                                                    <div class="progress-bar" role="progressbar" ng-style="{ 'width': item.progress + '%' }"></div>
                                                                </div>
                                                            </td>
                                                            <td class="text-center">
                                                                <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>
                                                                <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>
                                                                <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>
                                                            </td>
                                                            <td nowrap>
                                                                <button id="orderDeliverBreakBulk_orderUploader" type="button" class="btn btn-primary btn-xs" ng-click="orderUploader.onDownload(item)">
                                                                    <span class="fa fa-cloud-download"></span> 下载
                                                                </button>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="titleC" id="plan04">
                                        <h1 class="leftred m-n font-thin h4">回单状态</h1>
                                    </div>
                                    <div class="panel panel-default">
                                        <div class="groupConent">
                                            <div class="group-titel">回单状态</div>
                                            <div class="form-group">
                                                <label class="col-lg-1 col-md-2  control-label">回单状态<span class="text-danger">*</span></label>
                                                <div class="col-lg-2 col-md-2">
                                                    <select id="orderRegister_detail_receiptType" class="form-control input-sm" ng-model="receiptType" ng-disabled="deliveryBtn" name="receiptType" ng-options="x.value as x.text for x in receiptStatusList">
                                                        <option value="">请选择</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <button id="orderRegister_breakBulk_detail_cancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                <button id="orderRegister_breakBulk_detail_saveReceipts" type="button" class="btn btn-primary" ng-click="SaveReceipts()">保存</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!--orderTotal Modal -->
            <div class="modal fade bs-example-modal-lg" id="orderTotal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                <div class="modal-dialog modal-lg">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button id="orderRegister_breakBulk_orderTotalClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="orderTotalModalLabel">总线路货物信息</h4>
                        </div>
                        <form name="step3" id="form3" class="form-validation form-horizontal" novalidate>
                            <div class="modal-body">
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">发货地址<span class="text-danger">*</span></label>
                                    <div class="col-lg-6">
                                        <div class="form-group form-inline m-n">
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_originProvince" name="originProvince" type="text" class="form-control input-sm" ng-value="orderData.originProvinceStr" disabled="disabled">
                                            </div>
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_originCity" name="originCity" type="text" class="form-control input-sm" ng-value="orderData.originCityStr" disabled="disabled">
                                            </div>
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_originCounty" name="originCounty" type="text" class="form-control input-sm" ng-value="orderData.originCountyStr" disabled="disabled">
                                            </div>
                                        </div>
                                        <br />
                                        <input id="orderRegister_breakBulk_originDetails" type="text" class="form-control" ng-value="orderData.originDetails" placeholder="请填写详细地址" disabled="disabled" name="originDetails">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">送货地址<span class="text-danger">*</span></label>
                                    <div class="col-lg-6">
                                        <div class="form-group form-inline m-n">
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_destinationProvince" name="destinationProvince" type="text" class="form-control input-sm" ng-value="orderData.destinationProvinceStr" disabled="disabled">
                                            </div>
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_destinationCity" name="destinationCity" type="text" class="form-control input-sm" ng-value="orderData.destinationCityStr" disabled="disabled">
                                            </div>
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_destinationCounty" name="destinationCounty" type="text" class="form-control input-sm" ng-value="orderData.destinationCountyStr" disabled="disabled">
                                            </div>
                                        </div>
                                        <br />
                                        <input id="orderRegister_breakBulk_destinationDetails" type="text" class="form-control" ng-value="orderData.destinationDetails" placeholder="请填写详细地址" name="destinationDetails" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">中转地</label>
                                    <div class="col-lg-6">
                                        <span class="ui-select-bootstrap dropdown form-control" disabled="disabled">
                                            <span ng-repeat="item in orderData.viaAddressList">
                                                <span style="margin-right: 3px; margin-bottom:3px;" class="ui-select-match-item btn btn-default btn-xs">
                                                    <span>{{item}}</span>
                                        </span>
                                        </span>
                                        </span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">发货时间<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_deliveryTime" type="text" class="form-control " ng-value="orderData.deliveryTime" disabled="disabled" name="deliveryTime">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">到货时间<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_arrivalTime" type="text" class="form-control " ng-value="orderData.arrivalTime" disabled="disabled" name="arrivalTime">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">里程数</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_mileage" type="text" class="form-control " ng-value="orderData.mileage" disabled="disabled" name="mileage">
                                    </div>
                                    <label class="pull-left control-label">公里</label>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物类别<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_goodsTypeName" name="goodsTypeName" type="text" class="form-control" ng-value="orderData.goodsTypeName" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物名称<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_goodsName" name="goodsName" type="text" class="form-control" ng-value="orderData.goodsName" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">吨位范围<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_tonnageRange" name="tonnageRange" type="text" class="form-control" ng-value="orderData.tonnageRange" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物数量<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_realQuantityOfGoods" type="text" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control " ng-value="orderData.realQuantityOfGoods" disabled="disabled" name="goodsNum">
                                    </div>
                                    <div class="pull-left m-l-n-sm">
                                        <input id="orderRegister_breakBulk_goodsUnit" name="goodsUnit" type="text" class="form-control" ng-value="orderData.goodsUnit" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物数量2</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_quantityOfGoodsTwo" type="text" class="form-control " ng-value="orderData.quantityOfGoodsTwo" disabled="disabled" name="goodsNumTwo">
                                    </div>
                                    <div class="pull-left m-l-n-sm">
                                        <input id="orderRegister_breakBulk_goodsUnitTwo" name="goodsUnitTwo" type="text" class="form-control" ng-value="orderData.goodsUnitTwo" disabled="disabled">
                                    </div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button id="orderRegister_breakBulk_orderTotalCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <!--orderChildren Modal -->
            <div class="modal fade bs-example-modal-lg" id="orderChildren" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                <div class="modal-dialog modal-lg">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button id="orderRegister_breakBulk_orderChildClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="orderChildrenModalLabel">子线路货物信息</h4>
                        </div>
                        <form name="step4" id="form4" class="form-validation form-horizontal" novalidate>
                            <div class="modal-body">
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">发货地址<span class="text-danger">*</span></label>
                                    <div class="col-lg-6">
                                        <div class="form-group form-inline m-n">
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_shipProvince" name="shipProvince" type="text" class="form-control" ng-value="orderChildData.shipProvinceStr" disabled="disabled">
                                            </div>
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_shipCity" name="shipCity" type="text" class="form-control" ng-value="orderChildData.shipCityStr" disabled="disabled">
                                            </div>
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_shipArea" name="shipArea" type="text" class="form-control" ng-value="orderChildData.shipAreaStr" disabled="disabled">
                                            </div>
                                        </div>
                                        <br />
                                        <input id="orderRegister_breakBulk_shipAddress" type="text" class="form-control" ng-value="orderChildData.shipAddress" placeholder="请填写详细地址" disabled="disabled" name="shipAddress">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">送货地址<span class="text-danger">*</span></label>
                                    <div class="col-lg-6">
                                        <div class="form-group form-inline m-n">
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_deliverProvince" name="deliverProvince" type="text" class="form-control" ng-value="orderChildData.deliverProvinceStr" disabled="disabled">
                                            </div>
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_deliverCity" name="deliverCity" type="text" class="form-control" ng-value="orderChildData.deliverCityStr" disabled="disabled">
                                            </div>
                                            <div class="form-group m-n">
                                                <input id="orderRegister_breakBulk_deliverArea" name="deliverArea" type="text" class="form-control" ng-value="orderChildData.deliverAreaStr" disabled="disabled">
                                            </div>
                                        </div>
                                        <br />
                                        <input id="orderRegister_breakBulk_deliverAddress" name="deliverAddress" type="text" class="form-control" ng-value="orderChildData.deliverAddress" placeholder="请填写详细地址" name="deliverAddress" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">中转地</label>
                                    <div class="col-lg-6">
                                        <span class="ui-select-bootstrap dropdown form-control" disabled="disabled">
                                            <span ng-repeat="item in orderChildData.viaAddressList">
                                                <span style="margin-right: 3px; margin-bottom:3px;" class="ui-select-match-item btn btn-default btn-xs">
                                                    <span>{{item}}</span>
                                        </span>
                                        </span>
                                        </span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">发货时间<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_shipTime" type="text" class="form-control " ng-value="orderChildData.shipTime" disabled="disabled" name="shipTime">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">到货时间<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_arriveTime" type="text" class="form-control " ng-value="orderChildData.arriveTime" disabled="disabled" name="arriveTime">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">里程数</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_childMileage" type="text" class="form-control " ng-value="orderChildData.mileage" disabled="disabled" name="childMileage">
                                    </div>
                                    <label class="pull-left control-label">公里</label>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物类别<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_childGoodsType" name="childGoodsType" type="text" class="form-control" ng-value="orderChildData.goodsType" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物名称<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_childGoodsName" name="childGoodsName" type="text" class="form-control" ng-value="orderChildData.goodsName" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">吨位范围<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_childTonRange" name="childTonRange" type="text" class="form-control" ng-value="orderChildData.tonRange" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物数量<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_childGoodsNum" type="text" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control " ng-value="orderChildData.goodsNum" disabled="disabled" name="childGoodsNum">
                                    </div>
                                    <div class="pull-left m-l-n-sm">
                                        <input id="orderRegister_breakBulk_childGoodsNumUnit" name="childGoodsNumUnit" type="text" class="form-control" ng-value="orderChildData.goodsNumUnit" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">货物数量2</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_childGoodsNumTwo" type="text" class="form-control " ng-value="orderChildData.goodsNumTwo" disabled="disabled" name="childGoodsNumTwo">
                                    </div>
                                    <div class="pull-left m-l-n-sm">
                                        <input id="orderRegister_breakBulk_childGoodsNumUnitTwo" name="childGoodsNumUnitTwo" type="text" class="form-control" ng-value="orderChildData.goodsNumUnitTwo" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">结算方式<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_settleType" name="settleType" type="text" class="form-control" ng-value="orderChildData.settleType" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">含税<span class="text-danger">*</span></label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_includeTax" name="includeTax" type="text" class="form-control" ng-value="orderChildData.includeTax" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">应收说明</label>
                                    <div class="col-lg-6">
                                        <input id="orderRegister_breakBulk_receivableRemarks" type="text" class="form-control " ng-value="orderChildData.receivableRemarks" disabled="disabled" name="receivableRemarks">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">结算单位<span class="text-danger">*</span></label>
                                    <div class="col-lg-6">
                                        <input id="orderRegister_breakBulk_reckoner" type="text" class="form-control " id="reckoner" ng-value="orderChildData.reckoner" disabled="disabled" name="reckoner">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">工程名称</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_projectName" type="text" class="form-control " ng-value="orderChildData.projectName" disabled="disabled" name="projectName">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">工程编号</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_projectCode" type="text" class="form-control " ng-value="orderChildData.projectCode" disabled="disabled" name="projectCode">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">工程总量</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_projectTotal" type="text" class="form-control " ng-value="orderChildData.projectTotal" disabled="disabled" name="projectTotal">
                                    </div>
                                    <div class="pull-left m-l-n-sm">
                                        <input id="orderRegister_breakBulk_projectTotalUnit" name="projectTotalUnit" type="text" class="form-control" ng-value="orderChildData.projectTotalUnit" disabled="disabled">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">收货单位</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_takeGoodsCompany" type="text" class="form-control " ng-value="orderChildData.takeGoodsCompany" disabled="disabled" name="takeGoodsCompany">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">收货人</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_consignee" type="text" class="form-control " ng-value="orderChildData.consignee" disabled="disabled" name="consignee">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">收货人号码</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_consigneePhone" type="text" class="form-control " ng-value="orderChildData.consigneePhone" disabled="disabled" ng-pattern="/^1\d{10}$/" name="consigneePhone">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-3 control-label">发货单号</label>
                                    <div class="col-lg-3">
                                        <input id="orderRegister_breakBulk_shipOrderId" type="text" class="form-control " ng-value="orderChildData.shipOrderId" disabled="disabled" name="shipOrderId">
                                    </div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button id="orderRegister_breakBulk_orderChildcancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <!--location Modal -->
            <div class="modal fade bs-example-modal-lg" id="location" tabindex="-1" data-focus-on="input:first" style="display: none;">
                <div class="modal-dialog modal-lg">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button id="orderRegister_breakBulk_locationClose" type="button" class="close" data-dismiss="modal" aria-label="Close" ng-click="deletePoint()"><span aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="locationModalLabel">定位</h4>
                        </div>

                        <div class="modal-body">
                            <tms-carlocation></tms-carlocation>
                        </div>
                    </div>
                </div>
            </div>
            <!--arrival Modal -->
            <div class="modal fade bs-example-modal-lg" id="arrival" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                <div class="modal-dialog modal-lg">
                    <div class="modal-content">
                        <ng-form name="goodDelivery">
                            <div class="modal-header">
                                <button id="orderRegister_breakBulk_arrivalClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                <h4 class="modal-title" id="arrivalModalLabel">货已送达</h4>
                            </div>
                            <div class="modal-body overflow0">
                                <div class="form-group">
                                    <label class="col-lg-3 control-label text-right m-t-xs">货已送达时间</label>
                                    <div class="col-lg-3">
                                        <div class="input-group input-group-sm date">
                                            <input id="orderRegister_breakBulk_arrivalArrivalTime" name="orderRegister-breakBulk-arrivalArrivalTime" id="arrivalTime" required datetimepicker plugintype="datetime" ng-model="arrivalTime" placeholder="货已送达时间" class="form-control" type="text" />
                                            <span id="openArrivalTime" class="input-group-addon curpoint">
                                                <span class="glyphicon glyphicon-calendar"></span>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button id="orderRegister_breakBulk_arrivalCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                <button id="orderRegister_breakBulk_arrivalSave" type="button" class="btn btn-primary" ng-disabled="!goodDelivery.$valid" ng-click="Save()">保存</button>
                            </div>
                        </ng-form>
                    </div>
                </div>
            </div>

            <!--contract Modal -->
            <div class="modal fade bs-example-modal-lg" id="Econtract" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
                <div class="modal-dialog modal-lgg">
                    <div class="modal-content">
                        <div class="modal-closex">
                            <button id="orderRegister_detail_contractClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        </div>
                        <uib-tabset class="nav-tabs-alt" justified="true">
                            <uib-tab ng-click="ContractO()">
                                <uib-tab-heading>
                                    <h4>电子合同</h4>
                                </uib-tab-heading>
                                <div class="modal-body img-full">
                                    <h2 class="center-x w-xssss text-center" ng-show="isContractO">暂无电子合同</h2>
                                    <button id="orderRegister_detail_CreatEcontract" type="button" class="btn btn-info center-x text-center-xs" ng-show="isContractO" ng-click="CreatEcontract()">创建电子合同</button>
                                    <img vg-src="contractImgA" loading-cls="loading-x" error-cls="error-x" empty-cls="fade" loaded-cls="load-x" alt="">
                                    <img vg-src="contractImgB" loading-cls="loading-x" error-cls="error-x" empty-cls="fade" loaded-cls="load-x" alt="">
                                    <img vg-src="contractImgC" loading-cls="loading-x" error-cls="error-x" empty-cls="hide" loaded-cls="load-x" alt="">
                                </div>

                                <div class="modal-footer">
                                    <button id="orderRegister_detail_contractSend" type="button" class="btn btn-success" ng-show="isSend" ng-click="contractSend()">发送合同</button>
                                    <button id="orderRegister_detail_contractSeal" type="button" class="btn btn-success" ng-show="kfSeal" ng-click="contractSeal()">签章</button>
                                    <button id="orderRegister_detail_applyAgreement" type="button" class="btn btn-info" ng-show="applyAgreement" ng-click="isapplyAgreement()">申请补充协议</button>
                                    <button id="orderRegister_detail_contractRescind" type="button" class="btn btn-danger" ng-show="Ecancel" ng-click="contractRescind()">撤销</button>
                                    <h3 ng-show="waitSign" class="butterbar text-center font-thin m-b-none">等待司机签字确认!</h3>
                                    <button id="orderRegister_detail_contractCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                </div>
                            </uib-tab>

                            <uib-tab ng-click="AgreementO()" ng-show="isAgreementF">
                                <uib-tab-heading>
                                    <h4>补充协议</h4>
                                </uib-tab-heading>
                                <div class="modal-body img-full">
                                    <img vg-src="agreementImgA" loading-cls="loading-x" error-cls="error-x" empty-cls="empty-x" loaded-cls="load-x" alt="">
                                    <img vg-src="agreementImgB" loading-cls="loading-x" error-cls="error-x" empty-cls="empty-x" loaded-cls="load-x" alt="">
                                    <img vg-src="agreementImgC" loading-cls="loading-x" error-cls="error-x" empty-cls="empty-x" loaded-cls="load-x" alt="">
                                </div>
                                <div class="modal-footer">
                                    <button id="orderRegister_detail_AgreementSend" type="button" class="btn btn-success" ng-show="isASend" ng-click="AgreementSend()">发送补充协议</button>
                                    <button id="orderRegister_detail_AgreementSeal" type="button" class="btn btn-success" ng-show="kfASeal" ng-click="AgreementSeal()">签章</button>
                                    <button id="orderRegister_detail_AgreementRescind" type="button" class="btn btn-danger" ng-show="EAcancel" ng-click="AgreementRescind()">撤销</button>
                                    <h3 ng-show="waitASign" class="butterbar text-center font-thin m-b-none">等待司机签字确认!</h3>
                                    <button id="orderRegister_detail_AgreementCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                </div>

                            </uib-tab>
                        </uib-tabset>

                    </div>
                </div>
            </div>

            <!-- imgrotate model -->
            <tms-img-rotate src="selectedImgSrc"></tms-img-rotate>


            <!-- 定位器信息模态框 -->
            <!--location Modal -->
            <div class="modal fade bs-example-modal-lg" id="locToolLocation" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                <div class="modal-dialog modal-lg">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button id="orderRegister_detail_locToolLocationClose" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            <h4 class="modal-title" id="locToolLocationModalLabel">订单定位</h4>
                        </div>
                        <div ng-if="showLcoToolMdal" class="modal-body">
                            <tms-loc-tool-location order-detail="orderData" back="lt_back()"></tms-loc-tool-location>
                        </div>
                        <div class="modal-footer">
                            <button id="orderRegister_detail_locToolLocationCancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                        </div>
                    </div>
                </div>
            </div>

        </form>
    </div>
</div>